package com.jinxin.platform.cdsmsmgr.service;

import com.jinxin.platform.base.common.pojo.JsonResult;
import com.jinxin.platform.cdsmsmgr.pojo.domains.AliSmsSignInfo;
import com.jinxin.platform.cdsmsmgr.pojo.domains.SmsSignInfo;
import com.jinxin.platform.cdsmsmgr.pojo.domains.TxSmsSignInfo;
import com.jinxin.platform.cdsmsmgr.pojo.entity.ResultEntity;
import com.jinxin.platform.cdsmsmgr.pojo.vo.SignInfo;

import java.util.HashMap;
import java.util.List;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2020-06-29
 * @Author: Lingnan
 **/
public interface ISmsSignService {

    List<SmsSignInfo> listPage(HashMap param);

    int listPageCount(HashMap param);

    ResultEntity saveOrUpdate(SmsSignInfo signInfo);

    ResultEntity deleteById(String id);

    ResultEntity addSmsSign(SmsSignInfo signInfo);

    ResultEntity updateStatus();

    SmsSignInfo getById(String id);

    JsonResult querySmsSignList();

    JsonResult syncSmsSign(List<SignInfo> signInfoList);

    JsonResult freshStatus(String id);

    JsonResult applyAliSmsSign(AliSmsSignInfo smsSignInfo);

    JsonResult applyTxSmsSign(TxSmsSignInfo smsSignInfo);

    JsonResult queryById(String id);

}
